package com.mycode.service.impl;

import com.mycode.mapper.TStorageMapper;
import org.springframework.stereotype.Service;
import com.mycode.service.TStorageService;

import javax.annotation.Resource;

/**
 * @author Zengsh123 
 * @date 2020-03-17 14:25.
 */
@Service
public class TStorageServiceImpl implements TStorageService{

    @Resource
    private TStorageMapper tStorageMapper;

    @Override
    public void decrease(Long productId, Integer count) {
        tStorageMapper.decrease(productId, count);
    }
}
